initial changes for application undeploying
calling terminate all rule from AS
completing the initial flow for application undeployment