Implicit and explicit learning of abstract rules