The prime examples of such four vectors are the four position and four momentum of a particle, and for fields the electromagnetic tensor and stress-energy tensor.
Given the components of the four vectors or tensors in some frame, the "transformation rule" allows one to determine the altered components of the same four vectors or tensors in another frame, which could be boosted or accelerated, relative to the original frame.