My aim ultimately is to block ultrasurf. I read that I need to block all outgoing connections to 443 except the ones I want. I tried setting up an alias firstly called securesites and tried adding a few url's to it such as https://www.yahoo.com but it kept saying bad syntax. I can't figure out what is wrong with my syntax.
You cannot use a URL like that to block in an alias.
You can't even block HTTPS by URL in a firewall anyhow - you can't tell what URL is being requested in an HTTPS connection, only the IP, because it's encrypted.
You could try to put "www.yahoo.com" in as an alias, but it typically resolves to a sizable set of randomized IPs, so good luck with that working properly…