providers and tcrules template: add support for multi-wan. Refs #2332