A U.S. court of appeals has ruled in favor of efforts by northeastern states to clean up emissions from the Midwest.