/// <summary>
 /// Create a new Rules object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="field">Initial value of the field property.</param>
 /// <param name="category">Initial value of the category property.</param>
 public static Rules CreateRules(global::System.Guid id, global::System.Int32 field, global::System.Int32 category)
 {
     Rules rules = new Rules();
     rules.ID = id;
     rules.field = field;
     rules.category = category;
     return rules;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Rules EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRules(Rules rules)
 {
     base.AddObject("Rules", rules);
 }