public static void htmlDescribeSubs(String title, String head, NamedDescription relation, org.powerloom.PrintableStringWriter stream, boolean ruleP) {
    { int heuristicdepth = 4;
      int sublength = edu.isi.powerloom.PLI.getDirectSubrelations(relation, null, null).length();

      if (sublength > 30) {
        heuristicdepth = heuristicdepth - 1;
      }
      OntosaurusUtil.htmlWriteHeaderWithTable(stream, title, head);
      if (sublength == 0) {
        {
          stream.print("<I>");
          stream.print("None");
          stream.println("</I>");
        }
      }
      else {
        OntosaurusUtil.htmlDescribeOneSubLevel(relation, 0, heuristicdepth, stream);
      }
      if (ruleP) {
        stream.println("<HR SIZE=2>");
      }
      return;
    }
  }