Smart buildings and their rating tools