code: private boolean loadMatchRulesFromFile(String rulesUrl) {
  	//load match rules from a local file
  	try {
  	    mCallbacks.printOutput("Loading match rules from file: " + rulesUrl);
              InputStream in = new URL(rulesUrl).openStream();
              BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"));
  
              processMatchRules(reader);
              
              return true;
  
  	} catch (IOException e) {
  	    scan.printStackTrace(e);
  	} catch (NumberFormatException e) {
  	    scan.printStackTrace(e);
  	}
          
          return false;
      }
docs: Load match rules from a file URL