Fixed synchronization issues with rules version check