reports: br12 report - added comments to queries

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

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