You don't have to rinse the corned beef before cooking it if you don't want too.
Rinsing the corn beef though before cooking it is recommended because rinsing the corned beef before cooking it will remove excess salt that the corned beef is pickled with.
Corn beef fresh out of the package is too salty for most people so rinsing the salt away will make it taste better when served.