add ules and test
change rules
change rules
fix test
Merge pull request #328 from mimmi20/issue-326

Fixes #325
Merge branch 'master' of https://github.com/browscap/browscap into check-onmacosx