As I understand the lock() method, the rules base and all stateful sessions
are 'locked' while the application does what it needs to do to
update/remove/add packages to the rules base. Yet, I find that I need to
additionally synchronize on the RuleBase object to achieve this behavior. Am I
misunderstanding what the lock() method is supposed to do?