code: public static void tearDownExample(DatabaseClient client) {
      XMLDocumentManager docMgr = client.newXMLDocumentManager();
  
      for (String filename: filenames) {
        docMgr.delete("/example/"+filename);
      }
  
      RuleManager ruleMgr = client.newRuleManager();
  
      ruleMgr.delete(RULE_NAME);
    }
docs: the rules used for matching