Adding rules to udev: easy or a consenus best practice

Here is a related thread.

One neat bit from that thread is TLATER’s solution includes a check to verify the custom rule:

I’d like some built-in module options to define custom udev rules too. I quite like the interface that rnhmjoj suggested so setting the priority isn’t essential (assuming there would be a sensible default) but can be easily adjusted.