def get_rules(rules_module):
    """
    Get rule functions from module
    :param rules_module: module with rules implementations
    :return: rule functions
    """
    rules = []
    for item in dir(rules_module):
        if item.startswith("rule"):
            rules.append(getattr(rules_module, item))
    return rules