Segments are now properly stored as percolation (saved) ElasticSearch queries. Next step will be using the percolation API to match them against documents.