import re


def rule(event):
    if all(
        [
            re.match(r"[a-zA-Z]:\\\\", event.deep_get("Image", default="")),
            "\\\\wsl.localhost" in event.deep_get("CurrentDirectory", default=""),
        ]
    ):
        return True
    return False
