Can't add clinical rules and plan, please help!

When I click Admin->Practice->Rules, I got an unknown tab. I tried to add a new plan and rule.
I am supposed to get this configuration screen. However, in my case, i got a blank unknown tab like the second image. Did I miss anything?

image 1.

image 2.

OpenEMR Version
I’m using OpenEMR 6 and 7 version

I’m using: chrome

Operating System
I’m using: linux 20.04, php 7.4

Fatal error : Uncaught Error: Class ‘RuleCriteria’ not found in /opt/lampp/htdocs/openemr7/interface/super/rules/library/RuleCriteriaAge.php:15 Stack trace: #0 /opt/lampp/htdocs/openemr7/interface/super/rules/include/header.php(30): require_once() #1 /opt/lampp/htdocs/openemr7/interface/super/rules/index.php(3): require_once(’/opt/lampp/htdo…’) #2 {main} thrown in /opt/lampp/htdocs/openemr7/interface/super/rules/library/RuleCriteriaAge.php on line 15

can’t reproduce on the demo, OpenEMR Login

how’d you install?

I am using Version: XAMPP for Linux 7.4.29-1

I think it is lacking the following statement in RuleCriteriaAge.php

I know there is loop to include all files in header php, but it doesn’t work for class extension