Text this: Learning recovery strategies for dynamic self-healing in reactive systems: transport system implementation with dynamic predicates