or equipment described in subsection (c) of section 25D of such Code (determined without regard to subsection (h) of such section). Such term shall not include any property unless depreciation (or amortization in lieu of depreciation) is allowable (or would be allowable if section 933 of the Internal Revenue Code of 1986 were not taken into account) with respect to such property. (e) Eligible person For purposes of this section, the term eligible person means— (1) any individual that is a bona fide resident (as defined under section 937 of the Internal Revenue Code of 1986) of Puerto Rico or the Virgin Islands, and (2) any corporation which is organized under the laws of Puerto Rico or the Virgin Islands. (f) Other definitions Terms used in this section which are also used in section 45 or 48 of the Internal Revenue Code of 1986 shall have the same meaning for purposes of this section as when used in such section 45 or 48. Any reference in this section to the Secretary of the Treasury shall be treated as including the Secretary's delegate. (g) Application of certain rules In making grants under this section, the Secretary of the Treasury shall apply rules similar to the rules of section 50 of the Internal Revenue Code of 1986, except that in applying subsection (b)(1) thereof Puerto Rico or the Virgin Islands shall be substituted for the United States . In applying such rules, if the property is disposed of, or otherwise ceases to be specified energy property, the Secretary of the Treasury shall provide for the recapture of the appropriate percentage of the grant amount in such manner as the Secretary of the Treasury determines appropriate. (h) Appropriations For fiscal year 2018, there is hereby appropriated to the Secretary of the Treasury— (1) for providing grants for specified energy property placed in service in Puerto Rico, $270,000,000, and (2) for providing grants for specified energy property placed in service in the Virgin Islands, $20,000,000, to remain available until expended. 112. Incentives for