Cat quickly learns to follow the rules