Categories tree structure UI with brands and setting value with inheritance

Let we have a tree of categories as first column and commission as a second column. Commission has inheritance abilities, e.g. if I set commission on Category 1 by default it will be applied to Category 2

enter image description here

We can set commission also to brands for different categories, simplest example:

enter image description here

Currently it duplicates category row, but with brand label.

If we set brand commission on parent category it should be inherited by subcategories. In current UI it will duplicate a subtree:

enter image description here

How to display it without duplication of subtrees of categories?