Rewrote vidi to use rule hiding