Update rules.yml

Add system clause and terminating newline
Fix rules.pm

Strip out site-specific references in return messages.