Added RowPermissions write rules (AllowWrite, DenyWrite)
Added tests for write rules