$SMDEV points to device name

Export $SMDEV for removedev() as well
If path[0] is ! then run the command hook for the rule
Constify struct rule in config.h
Rename `off' to `pmatch'
Install to bin and not sbin
Ignore errors for symlink()