Exporting Flipt state fails with "wrong format for rule segments" when a variant flag has no rules attached yet. Steps: create a variant flag, do not add rules, run export. The export should succeed even for rule-less flags, since that is a normal intermediate state.