public static void applyWMRule(Collection<MWMInOutBound> lines,String boundType){
  for (  MWMInOutBound line : lines) {
    for (    MWMDefinition definition : MWMDefinition.getAll(line.getCtx(),line.get_TrxName())) {
      WMRuleEngine.validateDefinition(line,definition,boundType);
    }
  }
}

public static void applyWMRule ( Collection < MWMInOutBound > lines , String boundType ) { for ( MWMInOutBound line : lines ) { for ( MWMDefinition definition : MWMDefinition . getAll ( line . getCtx ( ) , line . get_TrxName ( ) ) ) { WMRuleEngine . validateDefinition ( line , definition , boundType ) ; } } }
apply the wm rule by bound type
