Worry Seed is a move that forces the target to have the Ability Insomnia, which prevents sleep. The move Rest forces your own Pokemon to sleep, but also fully heals their HP. The problem is that I'm not sure if the sleep happens first, or the heal. So if a Pokemon has Insomnia and Rest, will they get a free heal, or will the Rest just be completely shut down?