Segmentation

Dump segmentation rules in yaml.