Cooperative Driving of Connected Autonomous Vehicles Using Responsibility Sensitive Safety Rules