def rule(event):
    if all(
        [
            event.deep_get("type", default="") == "EXECVE",
            "chattr" in event.deep_get("a0", default=""),
            "-i" in event.deep_get("a1", default=""),
        ]
    ):
        return True
    return False
