Added rules to create headers for sorted systems: sesx and sesy.