function sanitizeRule (rule) {
    if (typeof rule === 'string') {
      return new RegExp('^' + rule + '$', 'i');
    }

    return rule;
  }
Sanitize a pluralization rule to a usable regular expression.

@param  {(RegExp|string)} rule
@return {RegExp}