fix #1567; nil reference in spam_rules_enforcer.rb