Created RuleTest.java

Added rotate90DegCW tests.