Usually when you set a rank level its checked with a flag/namelist also. Use the flag/namelist to check which rank level the player is.
for the heal
#ACT
HUMANHP + 5000
HUMANMP + 5000
not so much a heal but revives all your hp and mp depending on the amount you want them to receive obviously.
hope it helps.