xml rules for open_dialog