More than one $Rule in every note: One $Rule contains priority code, the other $Rule contains the rest

I’ve not used update() yet, but you might like to see this: Tinderbox Training Video 51- Linking With Tinderbox.