Parse segment conditions