remove duplicate reule definition