I don't see a reason for ```cp -r #{UDEV_RULES_DIR}/.``` 
```cp #{UDEV_RULES_DIR}/*```` should be enough