Moved rules actions to Vidi