Regulation of hydraulic fracturing