Representing and Reasoning with Qualitative Preferences for Compositional Systems