Fixed duplicity test in multiple rules
Merge branch 'bugfix', fixed duplicity test for nultiple rules.