remove comments in a rule