code: func (t *Template) GetAWSRoute53ResolverResolverRuleWithName(name string) (*resources.AWSRoute53ResolverResolverRule, error) {
  	if untyped, ok := t.Resources[name]; ok {
  		switch resource := untyped.(type) {
  		case *resources.AWSRoute53ResolverResolverRule:
  			return resource, nil
  		}
  	}
  	return nil, fmt.Errorf("resource %q of type AWSRoute53ResolverResolverRule not found", name)
  }
docs: // GetAWSRoute53ResolverResolverRuleWithName retrieves all AWSRoute53ResolverResolverRule items from an AWS CloudFormation template
  // whose logical ID matches the provided name. Returns an error if not found.