The Logic of Qualitative Probability