remove duplicate rule definition