Thanks for the suggestions Russell - here is my (trivial) script
#! /bin/bash
# This script is called from udev rules:
# if "add" is the arg to the script then the mouse is added
# if "remove" then removed
if [ $1 = "add" ]; then
synclient TouchpadOff=1
else
synclient TouchpadOff=0
fi