def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("/nice"),
            any(
                [
                    event.deep_get("CommandLine", default="").endswith("/bin/bash"),
                    event.deep_get("CommandLine", default="").endswith("/bin/dash"),
                    event.deep_get("CommandLine", default="").endswith("/bin/fish"),
                    event.deep_get("CommandLine", default="").endswith("/bin/sh"),
                    event.deep_get("CommandLine", default="").endswith("/bin/zsh"),
                ]
            ),
        ]
    ):
        return True
    return False
