Working prototype with one rule
Fixing missing parent calls, working fixes counting