public static XDocument Serialize(this RuleProperties description)
        {
            XDocument doc = new XDocument(
                new XElement(XName.Get("entry", ManagementClientConstants.AtomNamespace),
                             new XElement(XName.Get("content", ManagementClientConstants.AtomNamespace),
                                          new XAttribute("type", "application/xml"),
                                          description.SerializeRule())));

            return(doc);
        }