I suggest that you write a small Java program called rename.jar that connects to the AE and renames the object. This program should take as inputs the old and new object names. Then do something like this:
The advantage of using an EXEC_VARA is that you’ll be able to to rename an object from any AE script. Let us know if it works!