The (hopefully) attached code allows users to group windows together by their server connection. I believe the 2D16 release had this ability, but it's not present in the (otherwise cool) new Interface preference.
The code creates a new special window rule called "Server Window" patterned off "Focused Window" and "New Window". When a chat view matches this rule it is placed in the window controller for that server connection.
Window controllers are assigned a server connection through their identifier strings. The format is "Server:%08X" where the last part is simply the address of the allocated controller class. This allows people to move views in and out of the window controller while still having consistent behavior.
Not a whole lot to it, actually!