Extending query rewriting techniques for fine-grained access control | Synapse