Added a rules.rb file.