fix ff*_g -> ff* rules