aded rule and test
Merge pull request #181 from mimmi20/issue-179

Fixes #179
update from the master branch
remove duplicate rules