shunting rule

shunting rule