I'm having trouble with rules for same element in different hierarchies.
I have two hierarchies: 'Plano de Contas' (default hierarchy) and 'DRE1' which was created by me.
These are the rules:
['Plano de Contas':'Plano de Contas':'1110290002'] = DB('GBL_PC', !Centros de Custo, !Versões, !Anos, !Meses, !Moedas, 'Plano de Contas':'111019');
['Plano de Contas':'DRE1':'1110290002'] = DB('GBL_PC', !Centros de Custo, !Versões, !Anos, !Meses, !Moedas, 'DRE1':'111019');
Instead of each hierarchy having separated rules, the rule is bringing the value from the default hierarchy to both hierarchies.
I tried using [] for the right side instead of a DB but I got the same result.
Here is the default hierarchy:

And this is the other hierarchy:

Does anyone know what is wrong? Any help is appreciated.
Thank you!