Security group/rules on optimized driver

flake8 compliant.