Rewrite per-source ratelimiting rules to use a custom hashtable