Append Text from a File to the filename

I was trying to do the following:
Wanted to do this.
File1 (text file)
Dog
Value1 = Dog
I wanted hazel to read the file and use that value in the rename option of hazel to use it.
result:
whatever conditions matched
Do the following: to files that match this
Rename with pattern <Name> <Value1>.<ext>
Is that possible?
Any help would be appreciated.
Wanted to do this.
File1 (text file)
Dog
Value1 = Dog
I wanted hazel to read the file and use that value in the rename option of hazel to use it.
result:
whatever conditions matched
Do the following: to files that match this
Rename with pattern <Name> <Value1>.<ext>
Is that possible?
Any help would be appreciated.