Fixing parsing errors and regresions
Adding missing file
Making corrections for single-section rules files
Updating unit tests
Updating C example and unit tests