add rule and test
add windows 8.1
Merge pull request #316 from mimmi20/issue-315

Fixes #315