reports: br22b report - added comments to queries

Changed the code structure so it will be more readable
and added commets.

Change-Id: I714da9cffbd626865deb0bcbf503afd1fe88cfcb
Signed-off-by: Shirly Radco <sradco@redhat.com>