The U.S. Treasury Department’s final rules released Thursday on a valuable tax credit for manufacturing key components and materials used in clean energy technologies allow producers to take into account the costs to mine and extract critical minerals.