How to write multiple independent conditions in feature code?

I would like to write this in a rlig feature instead of having tons of alternate layers:

I wrote it like this, with the repeating sub (…) line. Can this be written in shorter form?

This is as short as it gets.

Okay, thanks. Would it be possible to consider a syntax enhancement for the definition of alternate layers in Glyphs? For definition of multiple conditions. As you can see in the screenshot above, I need to duplicate the alternate layers, which are perfectly identical apart from their condition.

I see this case crop up more and more, especially in large design spaces.

I’ll think about it.