Persisted rules are stored in this envelope. Currently only
version: 1 exists. When new versions are introduced, the
implementation is expected to upgrade older stored rules to the
current shape before passing them to compile,
so compile itself only ever sees the current version.
A Rule wrapped with a version number for storage.
Persisted rules are stored in this envelope. Currently only
version: 1exists. When new versions are introduced, the implementation is expected to upgrade older stored rules to the current shape before passing them to compile, socompileitself only ever sees the current version.Example