changes to accessRule: effect optional and duration