There are several types of actions related to HTTP headers and HTTP cookies. Different fields are configurable per action, depending on the action type. For actions that require a matching header (e.g., type "Rewrite Header Value"), the two patterns for header name and header value must both match. If one pattern is empty, only the other pattern is considered.
Note that rewrite variables and backreferences to matching groups may be used within all rewrite rules.