; (B) a parent or other household member responsible for the care of a dependent child under 6 or an incapacitated person; and (C) a person who is regularly and actively participating in a drug addiction or alcoholic treatment and rehabilitation program. (d) Limitation on bedrooms A dwelling unit that is occupied by a person, or assisted with assistance made available on behalf of a person, pursuant to a preference for housing assistance may contain more than 1 bedroom only if each additional bedroom is occupied only by other persons who occupy the dwelling unit, or receive assistance made available, pursuant to a preference for housing assistance. (e) Termination of assistance (1) In general A public housing agency or project owner, as applicable, shall terminate any occupancy of, or assistance on behalf of, a person pursuant to any preference for housing assistance upon the person attaining 25 years of age or upon substantial noncompliance with the requirement under subsection (c)(1). (2) Rule of construction Nothing in paragraph (1) may be construed to prohibit or affect the eligibility of any person for occupancy of housing assisted under this title or rental assistance under section 8 that is provided other than pursuant to a preference for housing assistance. . 4. Priority for rural rental assistance Section 521(a)(2) of the Housing Act of 1949 ( 42 U.S.C. 1490a(a)(2) ) is amended by adding at the end the following: (F) (i) In making occupancy in a project assisted under this paragraph, and rental assistance under this paragraph, available on behalf of eligible families, the project owner shall give preference to otherwise eligible children who— (I) are in foster care; (II) have attained an age such that the provision of foster care for the child will end by reason of the age of the child within 6 months