Hi @MarcosC, thanks for the feedback!
I think your idea makes sense, but I'm not sure I will implement it
Let me elaborate.
My intention for the dynamic profile editor was not to replace the custom profile builder (at least in the short term), but rather to provide a simple alternative/complement to it, that covers the common cases (e.g. load the proper camera and lens profile automatically, activate your preferred noise reduction settings given the ISO value, etc.).
For more advanced use cases, IMHO the custom profile builder is the way to go. Even if I implemented your proposed feature (definitely feasible, but a bit time consuming, especially if a custom DSL is also needed - even if simple), it would still not be general enough. Despite the name, the dynamic profile editor offers a rather limited dynamism: it only allows to combine statically-defined profiles. With a custom profile builder, you can generate the profiles on the fly, and I can imagine some advanced users wanting this.
So, my proposal would be to keep the built-in dynamic profile editor the way it is, which IMHO offers a good compromise between simplicity and flexibility, but instead make it possible to combine it with the custom profile builder. The idea would be that you define the rules for the "normal" settings, and then use a custom profile builder for the fine-tuning/more advanced stuff.
How does that sound?
(involving also @heckflosse who requested basically the same feature on github)