Supervision, and a pet who can always leave.
Children should learn to let a resting animal rest. A bed or crate the pet can retreat to, that nobody follows them into, prevents most problems.
Be honest with the rescue about ages at home — it shapes which pets are suitable.