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();
error=true;
return null;
}
}else{