added rule and test
Merge pull request #205 from mimmi20/issue-204

Fixes #204