A big ruling in a federal suit brought against the state aims to force more regulation of one of the biggest sources of air pollution: oil refineries.