Add a check if rule and rule.Connections is nil
Add a check if rule and rule.Connections is nil

terraform-providers/terraform-provider-aws,terraform-providers/terraform-provider-aws,terraform-providers/terraform-provider-aws,terraform-providers/terraform-provider-aws