clearinterface when deleting active rule, restore query_check on mouseleave