return null;
}
String entityName = this.selectedAttribute().entity().name();
GSVModel model = session.model();
GSVEntity entity = model.entityNamed(entityName);
if(entity==null){
entity = new GSVEntity(model, entityName);
model.addEntity(entity);
}
entity.setModel(model);
GSVAttribute att = entity.attributeNamed(this.selectedAttribute().name());
if(att==null){
att = new GSVAttribute(entity, this.selectedAttribute().name());
entity.addAttribute(att);
}
att.setEntity(entity);
if(newFlag){
if(att.ruleNamed(selectedRule().ruleName())!=null){
errorMessage = "There is already a rule named: "+ selectedRule().ruleName();