Update globalId from validation

Allow to validate rules outside from sailsjs