pub fn parse_when_then(body: &str) -> Option<(String, String)>
Parse “when … then …” and extract condition and action parts