fixes #152

Included new rule, unit tests, and docs.