I want to implement a rule which sets the status to WARN in case of a concrete error.Can someone please help.