Should use a real parser (e.g. one derived from a grammar with, say, [peggy](https://peggyjs.org/)) to parse rules