evaluatro.rb and rules.rb changed for ruby 1.8.7 support