Adde ruleEdited template and removing garbage.