Added new SquareRules implementation and unit test, also extended ClassicRulesTest with diagonaltest method