docs: public static final void main(String[] args) 
      {
          try 
          {
              if (args.length != 2)
              {
                  logger.info("usage: RuleFileMigrator source_file dest_file");
                  System.exit(1);
              }
              
          	File inFile = new File(args[0]);
          	File outFile = new File(args[1]);
          	FileReader fr = new FileReader(inFile);
          	
          	String xml = convertReaderToString(fr);
          	String result = null;
          	if (needToMigrateRF(xml))
          	{
          		result = portRFToCurrentVersion(xml);
          	}
          	
          	if (result != null)
          	{
          	    logger.info("Ruleflow migrated from version 4.0 to 5.0");
          		FileWriter fw = new FileWriter(outFile);
          		fw.write(result);
          		fw.flush();
          		fw.close();
          	}
          	else
          	{
          	    logger.info("No Ruleflow Migration Reguired - Ruleflow is version 5.0");
          	}
          } 
          catch (Throwable t) 
          {
              t.printStackTrace();
          }
      }