def fw_action(raw):
    """Normalize firewall action

    Gives back a value between allow, deny, reject and other
    """
    lower = raw.lower()
    if lower in ['allow', 'deny', 'reject']:
        return lower
    return 'other'