updated rules with version and new duplicate rule