rm def