Add query_string as a variable for use in a rules file

Provides the request's query string as a variable $query_string inside the rules file.  This allows customisation of rules etc based on this information.