Update RuleTest.java

Added flip tests.