Precoding Matrix Indicator and Rank Indicator

2 x 2 means what?
2 enodeB antenna and 2 RX antenna of UE?
Or you want to transmit 2 layers to 2 RX antenna?
CSI-rs ports, how many you want to configure?
4, 8, 12, 16?
There cannot be more layers than the number of CSI-rs ports.
PMI matrix is PxL where P is number of ports and L is number of layers.

Each element of the matrix ij is the phase shifter (complex number) of signal of layer j transmitted by port i.