code: private boolean isAnomaly(Instance instance, ActiveRule rule) {
  		//AMRUles is equipped with anomaly detection. If on, compute the anomaly value. 			
  		boolean isAnomaly = false;	
  		if (this.noAnomalyDetection == false){
  			if (rule.getInstancesSeen() >= this.anomalyNumInstThreshold) {
  				isAnomaly = rule.isAnomaly(instance, 
  						this.univariateAnomalyprobabilityThreshold,
  						this.multivariateAnomalyProbabilityThreshold,
  						this.anomalyNumInstThreshold);
  			}
  		}
  		return isAnomaly;
  	}
docs: Method to verify if the instance is an anomaly.
  @param instance
  @param rule
  @return