where are you hitting it with a mallet? If you smash it on the hat (not the rotor) it should eventually pop off. Or if you have an impact hammer with a blunt bit just zapping the hat in various places should also break apart all the rust holding it on. Otherwise what mrmerlin said! then during refit use antiseize so it isn't a problem next time.