Shunting rule