reports: br9 report - added comments to queries

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

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