updated access rule handling
updated docs
code cleanup
Merge pull request #67 from yogthos/master

new access rule features