Learning categories via rules and similarity: Comparing adults and children · Study