code: public Class<? extends RulePhase> findPhase(String phaseStr)
      {
          if (phaseStr == null)
              return null;
          if (this.cachedPhases == null)
              this.cachedPhases = this.loadPhases();
  
          return this.cachedPhases.get(classNameToMapKey(phaseStr));
      }
docs: Finds the phase by its simple class name (case insensitive); returns null if not found.