Yes, if the loan is fully refunded, then the rebate does get fully refunded. If a loan is only partially refunded, then the corresponding portion of the rebate gets refunded as well.