I am trying to create an Azure policy which I can assign at the subscription level, and control the naming of the resource groups in the subscription.
Policies need
The resource groups are Microsoft.Resources/subscriptions/resourcegroups type. You can kinda infer that from the resource provider operations:
Microsoft.Resources/subscriptions/resourcegroups
Get-AzureRmProviderOperation 'Microsoft.Resources/*'