Railway Alignment Design and Geometry
Size the rectangle using the Transform Size roll up (ALT-F10). Set the H value to your rail length (15.5" in my case) and the V value to your rail height (4.4375" in my case). Center the rectangle on the page (CTRL-A, Center to Page). Select your rectangle and resize it using the Size tool (ALT-F10).