Stratified surface layers on rails