as amended by section 402, is further amended by inserting , any rural area after median gross income . (b) Rural area Clause (iii) of section 42(d)(5)(B) of the Internal Revenue Code of 1986, as amended by section 402, is further amended by redesignating subclause (III) as subclause (IV) and by inserting after subclause (II) the following new subclause: (III) Rural area For purposes of subclause (I), the term rural area means any non-metropolitan area, or any rural area as defined by section 520 of the Housing Act of 1949, which is identified by the qualified allocation plan under subsection (m)(1)(B). . (c) Effective date The amendments made by this section shall apply to buildings placed in service after December 31, 2023. 502. Uniform income eligibility for rural projects (a) In general Paragraph (8) of section 42(i) of the Internal Revenue Code of 1986 is amended by striking the second sentence. (b) Effective date The amendment made by this section shall apply to taxable years beginning after December 31, 2022. VI Exempt facility bonds 601. Revision and clarification of the treatment of refunding issues (a) In general Subparagraph (A) of section 146(i)(6) of the Internal Revenue Code of 1986 is amended to read as follows: (A) In general During the 12-month period beginning on the date of a repayment of a loan financed by an issue 95 percent or more of the net proceeds of which are used to provide projects described in section 142(d), if such repayment is used to provide a new loan for any project described in section 142(a)(7) or for any purpose described in subsection (a)(2)(A) or (b) of section 143, any bond which is issued to refinance such issue shall be treated as a refunding issue. Any issue treated as a refunding issue by reason of the preceding sentence shall be so treated only to the extent the principal amount of such refunding issue does not exceed the principal amount of the bonds refunded. . (b) Removal of one-Refunding limit Subparagraph (B) of section 146(i)(6) of the Internal Revenue Code of