IHTM14574 - Lifetime transfers: the charge to tax: additional charges: rate of tax
In practice, you simply use the rate in force at the date of death.
If however the (full) rate of tax at the date of transfer is lower, you can use that rate, instead.