question: 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 ) ; } } }
target:  Apply the WM Rule by Bound Type