Users encounter 'required rule not found' errors when attempting to define new composite rules programmatically, preventing the use of this feature.
**Describe the bug** I tried to define a new composite rule using code but the gitleaks generator always throws the following error: ```bash 4:02PM ERR required rule not found in config path= rule-id=anthropic-api-key ``` I can add any rule in ruleId and get the same result so i tried it with a rule that is initialized before the aws one. **To Reproduce** Steps to reproduce the behavior: ```go // define rule r := config.Rule{ RuleID: "aws-access-token", Description: "Identified a pattern that may indicate AWS credentials, risking unauthorized cloud resource access and data breaches on AWS platforms.", Regex: regexp.MustCompile(`\b((?:A3T[A-Z0-9]|AKIA|ASIA|ABIA|ACCA)[A-Z2-7]{16})\b`), Entropy: 3, RequiredRules: []*config.Required{ {RuleID: "anthropic-api-key", WithinLines: &maxLines}, }, Keywords: []string{ // https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-unique-ids "A3T", // todo: might not be a v