Pour some rum into a dead man's mouth to cheer him up, otherwise he'll come back to haunt the house.
They pour rum for the dead people.
He'd seen something about that on a science-fiction television program.