cc/controller: added missing set_rule_with_index