A Value-Based Approach to Flexible Decision Making in Real-Time Dependable Systems