Spread construction adhesive along the faces of the 2 by 6s. A 2 by 6 is a piece of dimensioned wood lumber that you can buy at most home improvement stores. The actual dimensions are 1 1/2 inches by 5 1/2 inches.
Place the boards on each side of the rafter so it is sandwiched between them with the construction adhesive facing the rafter on both sides. Center the boards on the split in the rafter so they extend equal distances up and down the rafter away from the split.
Hold the boards in place by clamping them at each end with a bar clamp. Place the jaws on the outside faces of the boards and tighten the screw on each bar clamp to press them together around the rafter.
Drive 4-inch long screws into the face of one board so they pass through it, the rafter and into the board on the other side.
Drive more screws through the other board so they pass through the rafter and into the opposite board. You now have a rafter that is sandwiched between two sturdy boards and secured to them with construction adhesive and screws. The more screws you put through the boards and the rafter, the stronger the repair will be.