Update rails.md

added in curve and switching use of regular rail rule