After converting grammar to right associative, 8 s/r and 67 r/r (all r/r caused by COPY_RANDOM sucking pigeon cock).
EDIT: 8 s/r, 0 r/r, without breaking IWD2 COPY_RANDOM (in theory of course). Go me
EDIT: 7 s/r after a tweak in REPLACE_TEXTUALLY blah blah (match length).
EDIT: 5 s/r after forcing parens in PRETTY_PRINT*. Will be reverted if it proves to break mods.
EDIT: 4 s/r after forbidding COMPILE without any file.
EDIT: 3 s/r after tighening the supply_tog in ADD_STORE_ITEM (which only Dev uses anyway).
*: before, you could say plain PRETTY_PRINT or PRETTY_PRINT something. Now, you have to say either plain PRETTY_PRINT or PRETTY_PRINT (something).