Update Rule.java

Changed rotate90DegCCMiddlePos to take a third parameter.
Created the rotate90DegCCMiddlePos method.