duplicate rule, fix ranking