The sandwich rule is a leave-policy rule under which weekly offs or holidays that fall between two days of leave are also counted as leave. It is a company policy choice, not a legal requirement, and it is usually applied to some leave types and not others.
In plain words
If your leave sits on both sides of a weekend or holiday, the days in the middle count as leave too.
Example
An employee takes Friday and Monday off as casual leave. Under the sandwich rule, Saturday and Sunday are counted as well, so four days come off their balance instead of two. Without the rule, the same request uses two days.
Illustrative figures, not a statutory calculation.