Implementation of program rules in a data entry form of a custom app

Hello,
I was developing a custom DHIS2 tracker app in React where I wanted to introduce the program rules like the WHO RMNCH tracker. But I have no idea on it. :slight_smile: I was wondering if anyone (drawing attention to @Austin) could help me on how to proceed.
Thank you in advance
Monjur