DETROIT – A U.S. District judge in South Carolina has held the federal Environmental Protection Agency did not follow federal administrative procedures when it issued a new rule governing the Great Lakes and other U.S. waters and has held implementation of the rule.

The action means that Michigan and most the other Great Lakes states will continue to operate under the version of the Waters of the United States established in 2015 under former President Barack Obama.

However, the decision did not affect Wisconsin and Indiana, so the 2015 rule is on hold in those states.

The new order, No. 13840, was issued in June by President Donald Trump who called the 2015 order a “horrible, horrible rule. Has sort of a nice name, but everything else is bad.” When it was issued in 2015 a number of ranchers and other agricultural interests worried it would limit their access to water.

But environmentalists and others worried as well over the new order which called for putting greater focus on both the economic and defense values of the Great Lakes and other waters. The 2015 rule had focused more on protecting the waters.

When the new order was issued environmental groups were concerned about what effect it might have on ballast water treatment standards on freighters. Ballast water is seen a major source of invasive species getting into the Great Lakes and other waters that drain into the lakes.

U.S. District Judge David Norton for the eastern district of South Carolina said the rule and the EPA memorandum issued as part of the rule showed the agency failed to get public comments on the proposed change.

Environmental groups praised the court action, saying it would help protect clean water access. But farming groups said the EPA needed to move quickly to repeal the 2015 rule and provide assurance for ranchers and farmers.