Added import of TemplateRules JSON