Parse conditions