Parser: more readable code for runtime host selection event.