; and (B) in the case of each qualified skilled nursing facility where such qualified group practice furnished items and services under the Program during such year— (i) if the qualified skilled nursing facility has at least a three-star rating under the Five Star Quality Rating System (or a successor system), pay to the facility an amount that bears the same ratio to 12.5 percent of the estimated amount of such reduction as the amount of expenditures under the Program for such items and services furnished with respect to individuals at such facility by such qualified group practice during such year bears to the total amount of expenditures under the Program for such items and services furnished with respect to all individuals by such qualified group practice during such year