Pass $reference to get_product_rate()

@pippinsplugins This looks like all I need :+1: