2x2 rib refers to K2P2 ribbing. K2P2 ribbing means that you alternate two knit stitches with two purl stitches across the width of the work. Similarly, 1x1 ribbing is sometimes called K1P1 ribbing, and you'd alternate knits and purls across the work. Other sorts of ribbing my be notated as 3x1 (K3P1) or 3x2 (K3P2). The total length and width of the pattern (of whatever ribbing you are knitting) will be specified by the particular pattern that you are knitting. The number (1,2,3...) with the ribbing only specifies how wide the ribs will be.