Update globalId 

Allow to validate rules outside from sailsjs