chore(contribute): add rules for java projects