Use unique node names (prepended by the parent node's name) for nodes having the simpleValue attribute.
In other words, replace grammar rules like for example this one by rules like this one instead <SimpleName_identifier simplevalue="String"/> <SimpleName_var simplevalue="boolean"/>
More on this issue can be found in point 4.E and 3.a.7 of the file metamodel/experiment1.txt