add support for reading/writing security rules