; (2) location, entry, and patent under the mining laws; and (3) operation of the mineral leasing and geothermal leasing laws. 302. Administration (a) Management Subject to valid existing rights, the wilderness areas shall be administered by the Secretary in accordance with the Wilderness Act ( 16 U.S.C. 1131 et seq. ), except that— (1) any reference in that Act to the effective date shall be considered to be a reference to the date of enactment of this Act; and (2) any reference in that Act to the Secretary of Agriculture shall be considered to be a reference to the Secretary. (b) Livestock (1) In general The grazing of livestock in a wilderness area managed by the Secretary, if established before the date of enactment of this Act, shall be allowed to continue, subject to such reasonable regulations, policies, and practices as the Secretary considers to be necessary in accordance with— (A) section 4(d)(4) of the Wilderness Act ( 16 U.S.C. 1133(d)(4) )