Refactor pricing rules for percentage discount