Created a rules parser to read product rules