public static void RunAllRulesLoop() { while (_Do) { try { RunAllRules(); Thread.Sleep(Wait); } catch (Exception ex) { Linq.OnErrorExecute(ex); } } }