function getBundleRulesDataByVersion(version) {
  const is31 = compareVersion(version, VERSION_31.version),
    is20 = compareVersion(version, VERSION_20.version);
  if (is20) {
    return RULES_20;
  }
  else if (is31) {
    return RULES_31;
  }
  else {
    return RULES_30;
  }
}
Return the bundling rules to follow in the bundling process
@param {string} version The spec version we are bundling
@returns {object} The bundling rules related with the spec