The rule required federal land managers to consider climate change and other long-term effects when considering proposed development on public lands, but the rule came under attack from trade groups representing farmers and the oil and gas industries.