Jeg vil hjem! - I want to go home.
Jeg vil tage hjem nu. - I shall/will go home now. (future/intention)
Jeg skal hjem nu. - I have to/must go home now.
There are rules, but as the use of vil/skal depends on the context, they are comprehensive. Your example actually gives the the best, simple rule of thumb :)