created rules class, refactored tests
Merge branch 'master' of https://github.com/kikrahau/Battleships