REP-480 Rate Limit RegEx on Query String

This is the simple version satisfying the acceptance criteria of the story.

Refer to #980 for the more complex version.
Okay, I understand what's going on now, and I can't really come up with a nicer way to do that in idiomatic java. So, LGTM.