At producing a rule we already use automatically variables and comparisons. The name of each dimension is, as it happens, a variable that you can reuse.
In the value of a dimension you can enter a comparison (enter for dimension A the value B: you have made the comparison A=B).
You only need the lower part of this tab if you cannot add enough comparisons in the values of dimension names (that will seldom occur).