add rule and test
fix platform bits
fix bits
Merge pull request #282 from mimmi20/issue-281

Fixes #281
Merge pull request #280 from mimmi20/master

Fixes #279