OC-5702: Tags in the Rule template should include opening and closing tags for messages

Tags in the Rule template should include opening and closing tags for messages