Fix control to see if a rule already exists