Define problem solved: After loading existing architecture from XML,
creating new modules and rules resulted in strange situations, becuase
of overlapping Id's.
Now the moduleId and appliedRuleId are always higher than those of
existing modules and applied rules.