Hi
Try adding;
Code:
ENV{DEVTYPE}=="usb_device", ACTION=="add", SUBSYSTEM=="usb", RUN+="/tmp/test.sh"
You need to use the command (after a rule change/edit);
Code:
udevadm trigger
Then monitor and see what is happening when the device is hot-plugged;
Code:
udevadm monitor
Are you really on a System Z?