TemplateForensics: removing references to tags and rules to better separate concerns