code: func (r RuleSet) RegisteredFor(n ast.Node) []Rule {
  	if rules, found := r[reflect.TypeOf(n)]; found {
  		return rules
  	}
  	return []Rule{}
  }
docs: // RegisteredFor will return all rules that are registered for a
  // specified ast node.