Group state machine layers

Would be nice to able to group state machine layers in a simple drop down menu.