I have been unable to find this documented anywhere, so here goes.
According to the Apache documentation: "The [S] flag is used to skip rules that you don't want to run." Great, so I can skip N rules by using the [S=N] flag.
But how are chained rules counted? The documentation is ambiguous on this point.
Is the whole chain counted as a single rule or is it counted as the number of RewriteRule commands it contains?