Fix import rules for groovy