func (b BasicDataLoader) QueryRules(triggerID core.TriggerID) (ret []core.Rule) {
	for _, rule := range b.Rules {
		if rule.TriggerID == triggerID {
			ret = append(ret, rule)
		}
	}
	return
}
// QueryRules returns all rules matches the specified TriggerID
QueryRules returns all rules matches the specified TriggerID
// QueryRules returns all rules matches the specified TriggerID
func (b BasicDataLoader) QueryRules(triggerID core.TriggerID) (ret []core.Rule) {
	for _, rule := range b.Rules {
		if rule.TriggerID == triggerID {
			ret = append(ret, rule)
		}
	}
	return
}
func ( b BasicDataLoader ) QueryRules ( triggerID core . TriggerID ) ( ret [ ] core . Rule ) { for _ , rule := range b . Rules { if rule . TriggerID == triggerID { ret = append ( ret , rule ) } } return }
QueryRules returns all rules matches the specified TriggerID
QueryRules returns all rules matches the specified TriggerID