@staticmethod
def format_if_rule(rule, number):
    """Support to build if-based-rules in report

        Parameters
        ----------
        rule : str
            A whip specification rule.
        number : int
            The counter of the if-statements used in the whip specification,
            counter starts at 1.
        """
    return '{}_if_{}'.format(rule, number)
