def scaling_model_auto_rules(experiment):
    """Use dials.scale rules for determining suitable parameters."""
    osc_range = experiment.scan.get_oscillation_range()
    scan_width = osc_range[1] - osc_range[0]

    if scan_width < 5.0:
        scale_interval, decay_interval = (1.0, 1.5)
    elif scan_width < 10.0:
        scale_interval, decay_interval = (2.0, 3.0)
    elif scan_width < 25.0:
        scale_interval, decay_interval = (4.0, 5.0)
    elif scan_width < 90.0:
        scale_interval, decay_interval = (8.0, 10.0)
    else:
        scale_interval, decay_interval = (15.0, 20.0)
    return scale_interval, decay_interval