The Rule of 2, 3 and 4 is a guideline for opening with a weak two bid depending on the vulnerability.
At unfavorable vulnerability (red on white), the recommendation is to be 2 tricks shy of a 2-level contract. In other words, opener should have 6 tricks to open a weak two bid.
Example:
This is the classic example of a weak two. There are 6 probable spade tricks, and it can therefore be opened 2.
At equal vulnerability (white on white or red on red), the recommendation is to be 3 tricks shy of a 2-level contract. In other words, opener should have 5 tricks to open a weak two bid.
Example:
There are 5 probable heart tricks, and it can therefore be opened 2.
At favorable vulnerability (white on red), the recommendation is to be 4 tricks shy of a 2-level contract. In other words, opener only needs 4 tricks to open a weak two bid.
Example:
3 spade tricks + 1 diamond trick = 4 tricks. At favorable vulnerability, this hand can therefore be opened 2.