Report question

Question: How to add messages to a class with addClassRules