public static void InitializeRule()
        {
            // Register rule point
            PipeRuleSignature signature = new PipeRuleSignature(RuleManagerInstance);

            RuleManagerInstance.RegisterRulePoint("/", "PipeRule", "Pipe Rule Demo", signature);

            // Register activities
            RegisterActivities();

            RegisterOperators();

            // Initialize UI
            RegisterDesigners();
            InitializeActivityTranslator();
        }
        private static void RegisterActivities()
        {
            RuleActivityManager ruleActivityManager = RuleManagerInstance.ActivityManager;
            ActivitySignature   generalSignature    = new ActivitySignature();
            PipeRuleSignature   pipeRuleSignature   = new PipeRuleSignature(RuleManagerInstance);

            ruleActivityManager.RegisterActivity(
                "If",   // NOXLATE
                "If",
                () => new If(),
                generalSignature,
                typeof(If));
            ruleActivityManager.RegisterActivity(
                "Report",
                "Report",
                AddValidationItem.Create,
                pipeRuleSignature,
                typeof(AddValidationItem));
        }