add new rules and test
Merge pull request #433 from mimmi20/issue-432

Fixes #432