Rewrite rule operator base test