moved rules in rc.lua and added deluge to the startup list.