toConfig

Converts to a validated RateLimiterConfig.