add new rule and test
Merge pull request #419 from mimmi20/issue-416

Fixes #416