There are two HTTP rule types. HTTP rule is for HTTP requests or HTTPS requests. It won't affect 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.