Judge rules Mary Trump can publicize book about her uncle