Rulers on the Bars submenu of the Window menu shows or hides the rulers.