def METHOD_NAME(self, package_path: str):
    if not os.path.exists(package_path):
        raise RuntimeError(f"Package path: {package_path} does not exist.")
    self.package_path = os.path.abspath(package_path)
    self.init_rules(package_path)