If you identified the application by file fingerprint, then it would be matched regardless of name or folder location.
Identifying by file fingerprint is very accurate, but does not account for multiple versions (as they'd each have a different fingerprint).
Don't forget you can use the "Add From" button in the "Applciations" section of the FW Rule creation, to load a list of application known by your SEPM. This list is generated from clients in groups that have the "Learn Applications that run on the client computers" option enabled in the "Communications Settings".