Adding some java-specific rules.