Support for ifroute

bnc#897394, bnc#866250
NP: aligning on `=>` would make it more readable