I just implemented a class that should invalidate a message of a Forum if certain patterns are found more than a certain amount. In the given case I just configured the class with different patterns to send different messages to the user. I would suggest to give the rule an extra name method that would then be called in the addRule Method.