sync with rule simulator