Implemented rules and the handling of them.
Merge branch 'master' of https://github.com/Chefenmike/AI