Youre confusing the DOJ and the FBI. Wray is the director of the FBI and David Bowdich is the deputy director.
Sessions is Attorney General and Rosenstein is Deputy AG. However in the DOJ org chart, the AG has no direct reports, everyone reports to the Deputy who then reports to the AG.
Thanks. That I was trying to say.