fix rule file for groovy