Update RuleTest.java

Added rowOrColNum tests.