; and (4) the granting of the relief would not be contrary to the public interest. (d) Definitions The Attorney General may, by rule, define terms used in this section to ensure conformity with Federal programs providing relief from disabilities imposed under subsections (d) and (g) of section 922 of title 18, United States Code. . (b) Transition rule The amendment made by subsection (a) shall apply only beginning on the date that is 5 years after the date of enactment of this Act, in the case of any State that has a program described in section 105 of the NICS Improvement Amendments Act of 2007 ( 34 U.S.C. 40915 ) in effect on the date of enactment of this Act. 503. Ineligibility due to disqualifying mental status (a) Section 922(d)(4) of title 18, United States Code, is amended by striking adjudicated as a mental defective and inserting adjudicated as ineligible due to disqualifying mental status . (b) Section 922(g)(4) of title 18, United States Code, is amended by striking adjudicated as a mental defective and inserting adjudicated as ineligible due to disqualifying mental status . (c) Section 922(s)(3)(B)(iv) of title 18, United States Code, is amended by striking adjudicated as a mental defective and inserting adjudicated as ineligible due to disqualifying mental status . (d) Section 175b(d)(2)(F) of title 18, United States Code, is amended by striking adjudicated as a mental defective and inserting adjudicated as ineligible due to disqualifying mental status . (e) Section 842(d)(6) of title 18, United States Code, is amended by striking adjudicated as a mental defective and inserting adjudicated as ineligible due to disqualifying mental status . (f) Section 842(i)(4) of title 18, United States Code, is amended by striking adjudicated as a mental defective and inserting adjudicated as ineligible due to disqualifying mental status . (g) Section 3(2) of the NICS Improvement Amendments Act of 2007 ( 34 U.S.C. 40903 ) is amended by striking adjudicated as a mental defective and inserting adjudicated as