docs: public void savePolicy() {
          if (isFiltered()) {
              throw new Error("cannot save a filtered policy");
          }
  
          adapter.savePolicy(model);
          if (watcher != null) {
              watcher.update();
          }
      }