Restarting numbering

I have chapters with straight numbering (Chapter 1, Chapter 2, etc) and within each chapter the scenes are numbered in Roman (i, ii, iii…).

I have Chapters as folders but without any text, each scene is then a separate file within the chapter.

The chapter numbering is done using <$n> and the scene numbering uses <$r> and should reset for every chapter.

Using <$sn> just looks wrong but I can’t see any way of using the <$rst> placeholder to reset the Roman numbering.

If I put it in with the chapter formatting it doesn’t work (presumably because it’s not right next to the placeholder it’s resetting). And if I put it in with the scene numbering it resets every time so each scene is numbered as “i” (obviously).

The only solution I can see would be to move the first scene into the chapter as text, and add <$rst><$r> in the formatting. This is not an elegant solution and I might as well put all the scene text in the chapter and number manually.

Is there any other way of doing it?