fix case-sensitivity and aliases for TemplateRemovalRule