Update delete_output_rule.sh

Simplified script to take CLI arguments passed through application.