rule_spec.rb update