// Clone returns a clone of the Rules.
Clone returns a clone of the Rules.
// Clone returns a clone of the Rules .
func (r Rules) Clone() Rules {
	out := map[string][]Rule{}
	for key, rules := range r {
		out[key] = make([]Rule, len(rules))
		copy(out[key], rules)
	}
	return out
}
func ( r Rules ) Clone ( ) Rules { out := map [ string ] [ ] Rule { } for key , rules := range r { out [ key ] = make ( [ ] Rule , len ( rules ) ) copy ( out [ key ] , rules ) } return out }
Clone returns a clone of the Rules.
Clone returns a clone of the Rules .