Add discount rules functional