public function add_rule($access, $role, $action): void {
        $roles = (array)$role;

        foreach ($roles as $r) {
            $action = (array)$action;
            foreach ($action as $a) {
                $this->_rules[$r][$a] = $access;
            }
        }
    }