LEDGE-255: a helper method from RateLimit rule validation