A federal judge in Wyoming issued a preliminary injunction against the rules, which applied only to oil and gas production on federal and tribal lands.