updates rails automatic loading
Adds rulers functionality from ch 3 and 4, rebuilding rails