modified lib/rulers.rb file