fix a duplicate rule