I've got a Concept let's call it 'ExtensionClass' which is extending base language's 'ClassConcept'. 'ExtensionClass' does only provide some additional Constraints and Behaviour, that are not relevant for the generator.
I tried to not use a root mapping rule, hoping that 'ClassConcept' rule will be applied. But it didn't. So i created a root rule which used the '$INSERT$' to create a node of 'ClassConcept'.
But the problem is the creation of such a ClassConcept-node. It seems like that it's not possible to cast a node to a node of another (super) concept. The only way to me was to create a new node<ClassConcept> and to copy relevant information from my 'ExtensionClass' to the new node.
It works but is there a more elegant way to convert a concept node to a node of its super concept?
Alternatively: Is there a way to use the super class' generator/rule in my root rule?