nethttp/handler.go
func (h *Handler) Rule(r rule.Rule) *Handler {
	if r == nil {
		// if nothing passed then use the allow-everyting rule
		r = rule.Satisfied()
	}
	h.rule = r

	return h
}
func (h *Handler) Rule(r rule.Rule) *Handler {
	if r == nil {
		// if nothing passed then use the allow-everyting rule
		r = rule.Satisfied()
	}
	h.rule = r

	return h
}
// Rule sets the ruleset for this handler.
//
// returns itself.