What this rule checks
Classical definition: If all the grahas occupy the Panapharas, or all of them occupy the Apoklimas, Vapi Yoga occurs. In modern terms: All seven planets from the Sun to Saturn are in the 2nd, 5th, 8th and 11th houses (panapharas), or all seven are in the 3rd, 6th, 9th and 12th houses (apoklimas). Houses are counted from the rising sign (Lagna). Source: Brihat Parashara Hora Shastra, Chapter 35, verse 12.