Roof brackets secured to rafters