public override bool Equals(object o)
{
if (this == o)
return true;
if (o == null || GetType() != o.GetType())
return false;
Rules that = (Rules)o;
return (this.Items == that.Items);
}