First iteration of changes to the ruleset. Added three rules and made
sure the java class rule would work without (too many) errors