function registerCondition(name, condition, descriptor) {
  descriptor.key = name;
  conditions[name] = {
    condition: condition,
    descriptor: descriptor
  };
}
Condition registerer.

@param {String} name Condition name.
@param {Function} condition Condition function
@param {Object} descriptor Condition descriptor