Get version in rule

Hi all,i have a rule triggered by inbox/update content, that run a script.I want to be able to rename the content with the version Eg. ContentName(Version) Test1.0It's possible get version of a document?In the script i write: