Grammar citiesGrammar = new Grammar([ProjectNameSpace].Properties.Resources.rules);
XmlSchemaSet xmlSchemaSet = new XmlSchemaSet();
Stream xsdStream = Assembly.GetExecutingAssembly().GetManifestResourceStream(Resources.rules);
Grammar citiesGrammar = new Grammar(xsdStream);