fix rule file for hydro