refactor to parse rules from other sources

spoiler alert: Amazon S3 Security Groups!