added rule and test
Merge pull request #157 from mimmi20/issue-156

Fixes #156