There is a baseDir
variable for which you can designate the directory you want to monitor.
The variable monitors
can be edited according to the lock files to be monitored and the corresponding script files to be executed when the lock files were created.
# /etc/udev/rules.d/80-filco-keyboard.rules