Fix rule running