make the watch-rules accept path and mask arguments