Some types, such as https://github.com/package-url/purl-spec/blob/main/types-doc/deb-definition.md and https://github.com/package-url/purl-spec/blob/main/types-doc/apk-definition.md require the presence of a namespace. validCustomRules looks to intend to validate this type of requirement, but it only validates the namespace for TypeSwift.