using the same switch setup in Rule as in levelcreator