Not sure why theyve added the fact that its suspended on there, but in equilbrium, the tension in the string must equal mg (so "pull up" the mass) which in turn will "pull down" the rod with a force mg at B. So the mass could equivalently be at B.
So take moments for the rod (about A?) as normal. Its the tension acting on the rod, but its trivially equal to the weight.