as provided in subparagraph (B), the Commission shall not pay eligible accessible ballot marking device costs with respect to more than 1 accessible ballot marking device in any precinct. (B) Exception The Commission may pay for more than 1 accessible ballot marking device in any precinct if the State demonstrates the need for more accessible ballot marking devices in such precinct due to the number of voters with disabilities voting in such precinct compared to other precincts. (2) Rules and procedures The Commission shall establish rules and procedures for submission of eligible accessible ballot marking device costs for payments under this section. (3) Insufficient funds In any case in which the amounts appropriated under subsection (d) are insufficient to pay all eligible accessible ballot marking device costs submitted by States with respect to any Federal election, the amount of such costs paid under subsection (a) to any State shall be equal to the amount that bears the same ratio to the amount which would be paid to such State (determined without regard to this paragraph) as— (A) the number of individuals who voted in such Federal election in such State