Update globalId 

Allow to validate rules outside from sailsjs
Merge pull request #736 from marsanla/patch-1

Update globalId from validation