a couple of remarks
1. it is easier to not give the label of the question in the actual variable name. Just call it "Rule1_q1", and add more information for the label. now it does not work that easily
2. Do you want total question right per rule, per difficulty or what? please indicate more carefully what you want.
3. also, be more clear about your data. does everyone answer every question?
4. now there is no info in the file about the diffucultie etc. You probably do have this info yourself, but it is of course important for analysis.
5. In order to know whether someone answered correctly, you need answer categories!