Logical rules and the classification of integral-dimension stimuli.