add rule and test
Merge pull request #246 from mimmi20/issue-245

Fixes #245