Try to give more information when you're asking for help. How did it "not work out"? Did you see an error that your rule contains invalid syntax? Did the rule get added, but it's not blocking the traffic you expected?
[ Side note: Be sure to read the BUGS section under the ip6fw(8) manpage.
]