rules: Fix last_result not passed among chained rules
A previous refactor accidentally broke chained rules that rely on the
result chaining, so fix it.
With it fixed, some rule examples from docs/rules.md work properly
again, yay!
---
- Feature: THUMB WHEEL
- Rule: [ Modifiers: Control, Test: thumb_wheel_up, MouseScroll: [-2, 0] ]
- Rule:
- Modifiers: Control
- Test: thumb_wheel_down
- MouseScroll: [-2, 0]
- Rule: [ Or: [ Test: thumb_wheel_up, Test: thumb_wheel_down ], MouseScroll: [-1, 0] ]
...
---
- Feature: LOWRES WHEEL
- Rule: [ Or: [ Test: lowres_wheel_up, Test: lowres_wheel_down ], MouseScroll: [0, 2] ]
...
Fixes: 46366b2430 ("Fix warnings from automatic code inspections")
Signed-off-by: Rongrong <i@rong.moe>