COSMIC DESKTOP: automate windows to desktops

I’m trying to understand how automated window rules work in the System76 COSMIC Desktop Environment.

I only found this Blog-Post (" How to permanently float apps on COSMIC desktop ? ")

..but it s about floating or tilling Windows

Is there any other official or community documentation that describes how COSMIC’s window rule automation works?

Any pointers to source code, developer notes, or examples would be very helpful.

p.s.: no flakes, no home-mgr