rule.setPermissionManager(getPermissionManager());
    public void pageBeginRender(PageEvent event_) {        DialingRule rule = getRule();        if (null != rule) {            // FIXME: in custom rules: rule is persitent but rule type not...            setRuleType(rule.getType());            return;        }        Integer id = getRuleId();        if (null != id) {            DialPlanContext manager = getDialPlanContext();            rule = manager.getRule(id);            setRuleType(rule.getType());        } else {            rule = getRuleType().create();        }        setRule(rule);        // Ignore the callback passed to us for now because we're navigating        // to unexpected places. Always go to the EditFlexibleDialPlan plan.        setCallback(new PageCallback(EditFlexibleDialPlan.PAGE));    }