Rule-based Cognitive Modeling via Human-Computer Interaction