Issue 5524: Add $tax_rate_id to the added and updated action

Resolves woothemes#5524