Fracking firms denied permission to relax earthquake rules