Errors - Using traefik ip whitelist middleware in annotation

Hi , I am trying to use the whitelist annotation option in rancher key value pair like so in the deployment

traefik.http.middlewares.testIPwhitelist.ipwhitelist.sourcerange =
But i get the error:

Validation failed in API: Deployment.apps “nexus” is invalid: spec.template.annotations: Invalid value: “traefik.http.middlewares.testIPwhitelist.ipwhitelist.sourcerange”: name part must be no more than 63 characters.

How would one create a middleware annotation like this using Rancher? Many thanks.