get the PactRule working on JDK 6