Which decision-table rule matches the situation?

A shop sends a parcel only when its payment is confirmed and its delivery address is valid. Otherwise, the shop keeps the parcel. The decision table records that policy. Each rule is one column.

In the action rows, X means perform the action and - means do not perform the action.

Table 2: Complete parcel-sending decision table.
Conditions Rule 1 Rule 2 Rule 3 Rule 4
Payment confirmed? Yes Yes No No
Delivery address valid? Yes No Yes No
Actions
Send the parcel X - - -
Keep the parcel - X X X

For one parcel, the shop has not confirmed payment and has checked that the delivery address is valid. Which rule matches both conditions, and what action does it require?

  1. Rule 1 applies, so send the parcel.
  2. Rule 2 applies, so keep the parcel.
  3. Rule 3 applies, so keep the parcel.
  4. Rule 4 applies, so keep the parcel.