Charsets should float on top #2126

Fixes #2126

Charsets are placed in front of `ruleNodes` and thus printed first.