code: func (m *Manager) Rules() []Rule {
  	m.mtx.RLock()
  	defer m.mtx.RUnlock()
  
  	var rules []Rule
  	for _, g := range m.groups {
  		rules = append(rules, g.rules...)
  	}
  
  	return rules
  }
docs: // Rules returns the list of the manager's rules.