Update rules.rb