added rule and test
Merge pull request #143 from mimmi20/issue-141

Fixes #141