I'm a bit lazy....Halfords grey primer all over and then Railmatch Sleeper Grime, again sprayed all over, then rub the tops of the rails with hardboard or a strong cloth - isopropyl alcohol for the stubborn bits. Then, once it has been ballasted I gradually over time add detailing - oil, grease etc. to stop it looking too uniform.
Teabag