public void ReplaceactionAt(preConditionRuleActionType newValue, int index)
 {
     ReplaceDomChildAt(NodeType.Attribute, "", "action", index, newValue.ToString());
 }
 public void Addaction(preConditionRuleActionType newValue)
 {
     AppendDomChild(NodeType.Attribute, "", "action", newValue.ToString());
 }