naparuba/shinken — pull request #1012 by geektophe (2013-10-16 15:50:23+00:00)
Title: Give precedence to CRITICAL state in business rules state processing

In current business rules state processing, state is calculated with the maximum value of the state id, which makes UNKNOWN state having precedence over CRITICAL.

This patches gives the highest priority to CRITICAL state in business rule state calculation, if at least one son is in CRITICAL state.