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.
I changed it to a groovy class.