Rule notation disallows the use of any symbol outside of '{ }' or '[ ]' blocks

Wanted to use a replace path component, been getting these errors since yesterday. I don’t wanna seem like a special snowflake but why can i always never find documentation of the nuances of tree data to resolve these issues?

replace paths only takes flat matching paths tho, to change one item try the flatten component (which takes a path as well)