I'm not an electrician, but since you typically install these for the whole building, it would go before the UPS. Three-phase power has three wires plus a ground, so those are the four connections.
I haven't installed these, so I can't comment on whether one brand is better than another. You may want to wait for someone with actual experience to comment on this.