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

Situation
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.
https://ibb.co/5M7G5pP

image 2.
https://ibb.co/RPDr1jx

OpenEMR Version
I’m using OpenEMR 6 and 7 version

Browser:
I’m using: chrome

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

Logs
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
require_once(library_src(‘RuleCriteria.php’));

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