I don't understand why you need to rename or delete any templates, as doing so could render calls to those tempLates by vbulletin to cause errors... but if you absolutely had to, I suppose you could write a SQL query and include it in your product's install code.