compile the generated Rule expression for performance