clear out HTML.ruleHTML before adding new rule