add rule and test
remove property
remove some checks
Merge pull request #272 from mimmi20/issue-262

Fixes #262