Don't return /root when run with sudo
Implement loading user-defined rules