More generic policy creation function, move policy settings to nmap_scan.