rhogen: fix problems in Orm.xml