1. A method comprising: receiving a query from a first system; comparing the query against a database of queries; transmitting the query to a second system if the query is not found in the database of queries; writing the query to a backup system if the query is not found in the database of queries; and generating rules relating to the query.