Enabling Effective Dependability Evaluation of Complex Systems via a Rule-Based Logging Framework