; (2) rural water or wastewater technical assistance and training grants under section 306(a)(14) of that Act ( 7 U.S.C. 1926(a)(14) ); (3) emergency community water assistance grants under section 306A of that Act ( 7 U.S.C. 1926a ); and (4) solid waste management grants under section 310B(b) of that Act ( 7 U.S.C. 1932(b) ). (b) Electric program (1) In general Out of funds of the Treasury not otherwise appropriated, there is appropriated to the Administrator of the Rural Utilities Service $250,000,000 for fiscal year 2018, to remain available until expended, to provide electric infrastructure grants for eligible programs and activities in Puerto Rico and the Virgin Islands under the Rural Electrification Act of 1936 ( 7 U.S.C. 901 et seq.). (2) Limitations Funds appropriated under paragraph (1) may not be used for projects that include— (A) the construction, operation, or maintenance of new generation plants for the production of— (i) energy using sanitary waste landfill systems; or (ii) fossil fuels of any kind, including diesel, oil, coal, and natural gas; or (B) the construction of— (i) new liquefied natural gas import or export terminals