Refactoring of metamodel structure