def _generate_rules_url(url):
    if ".json" not in url:
        raise BadPowerTrackUrlException("Doesn't end with .json")
    if "stream.gnip.com" not in url:
        raise BadPowerTrackUrlException("Doesn't contain stream.gnip.com")

    return url.replace(".json", "/rules.json").replace("stream.gnip.com", "api.gnip.com")
Value in EMU of the ``w`` attribute of the ``<w:pgSz>`` child
dataset/ETHPy150Open twitterdev/twitter-for-bigquery/libs/gnippy/rules.py/_generate_rules_url--crossover with--dataset/ETHPy150Open python-openxml/python-docx/docx/oxml/section.py/CT_SectPr.page_width