WIP: Multiple changes:

Modularize arg fetching and docs
Fix comment
Label the outer vars_with_rep loop & call on flag
Move printf output to outer loop
Comment-out rule computaton logic temporarily