How to Set Combined Pricing Rules in ERPNext?

In the Pricing Rule Doctype, the applied_on field has options: Item Group, Brand, Item Code and Transactions. These options appear to be mutually exclusive.

For example, I want to set a pricing rule that applies to:

Item Group A
Brand B
This would mean the rule applies only to items that belong to “Item Group A” and are of “Brand B”.

Currently, I am unable to set this combination because the applied_on field restricts me to select only one option at a time.

Is there a way to achieve this combination?
If not, what would be the best approach to handle such a scenario?

Looking forward to your suggestions!

Pricing rule needs a complete rewrite. Frappe Devs have nearly abandoned further development of ERPNext’s functionality and are relying on the community to carry the torch.

This can be confirmed by the numerous unanswered forum posts and ignored bug reports.

With that said, only basic pricing rules are reliably functional. You’ll need a customization or the ability separate your rules.