## Order of rewrite rules when calling add_rewrite_rule

Question

I am checking the document for add_rewrite_rule at https://developer.wordpress.org/reference/functions/add_rewrite_rule/, based on its description, it said “Any value in the \$after parameter that isn’t ‘bottom’ will result in the rule being placed at the top of the rewrite rules.”

If I understand correctly, the following code:

  add_rewrite_rule('/rule1/', 'index.php?rule1', 'top');

rule3(most high)