fixed bug in rules for open/closed dot