add/delete default rules when add/delete app commands by api
add domain select for app page