Representing and Reasoning with Qualitative Preferences: Tools and Applications