The rules for building a perfect Rube Goldberg machine