code.complex_condition rule implemented