Rollover Rules for multiple symbols

Can I specify a rollover rule that should apply to all futures in a given exchange?
I see in the user guide we can use same_for, but you still need to type all symbols. If you have hundreds of such symbols (for example, single stock futures), then it is not practical at all.

I would generate the list programmatically and paste it into the file.

That would do, I suppose. Thank you.