The rib that forms a synovial joint with the sternum is the costal cartilage of the seventh rib. This cartilage articulates with the sternum at the xiphisternal joint, which is a synovial joint that allows for slight movement between the ribs and the sternum.