This enable ufw is not necessary after every rule addition, UFW changes take effect immediately. Care must be taken to ensure that ssh is permitted before enabling UFW.