Rules changes.
Merge branch 'master' of https://github.com/whosho/srekcik
Merge branch 'master' of https://github.com/whosho/srekcik
Logic changes, some part of unit test, a bit of gui changes.