Update rules.rb

Remove trailing whitespace to pass git whitespace check.