operator: Add polymorphic operators part 2

* Modify mid metamodel and heavy factory
* Prepare to regen code