That works. Thank you!
Templates honestly are difficult for me to understand. I've mostly just been reverse-engineering existing examples (either posted here on MR or with the new convert-to-advanced-rule button) and using the documentation to try to figure out how to make a round peg fit into a square hole.