I do not know what an irules file is but we did not do nothing fancy to get it work.
I've asked NetScaler team for a "entry" in netscaler balancing between 3 PAM nodes. Sticky session, healtcheck.
We associated the netscaler's entry IP with a dns name pam.domain.local.
Used this DNS in PAM setup for the load balancer name.
Used Node1, Node2, Node3 for the node name. Nodes were installed by using the install orchestrator option in the GUI.
Everything is working fine since November 2016.
Pier