Fix #1567; nil reference in spam_rules_enforcer.rb

This fixes #1567. If there's anything that you'd like changed about this pull-request, then please let me know. Thanks!

And I just electronically signed the CLA.