There are 2 HTTP rule types. HTTP rule is for HTTP requests or HTTPS requests. It won't effect TCP connections.
Rule matches if the user agent of the request matches. Wildcard characters * and ? are supported.
Rule matches if the URL matches the regular expression.