OntoSpreadCompositeRestriction restrictions = new OntoSpreadCompositeRestriction();
restrictions.getRestrictions().add(new OntoSpreadRestrictionMinConcepts(min));
restrictions.getRestrictions().add(new OntoSpreadRestrictionMaxConcepts(max));
restrictions.getRestrictions().add(new OntoSpreadRestrictionMinActivationValue(minActivation));
OntoSpreadStrategy stopStrategy = new OntoSpreadSimpleStrategy(restrictions);
return new OntoSpreadStrategyVisitorPair(stopStrategy,new OntoSpreadBooleanRestrictionVisitor());
}