static void Main(string[] args) { try { Console.CancelKeyPress += Console_CancelKeyPress; _engine = new HttpRulesCore.RuleEngine(); _engine.Start(@"L:\Dev\HttpRules\HttpRules\RulesWPF\Rules\Rules.xml"); Console.ReadKey(); } finally { _engine.Shutdown(); } }