((InternalRule) rules[i]).setAutoAttendant(operator);
AttendantRule ar = (AttendantRule) rules[i]; ScheduledAttendant sa = new ScheduledAttendant(); sa.setAttendant(operator); ar.setAfterHoursAttendant(sa);
    public void setOperator(AutoAttendant operator) {        DialingRule[] rules = getDialingRuleByType(m_rules, InternalRule.class);        for (int i = 0; i < rules.length; i++) {            ((InternalRule) rules[i]).setAutoAttendant(operator);        }    }