#174 added null and blank checks for AwsRules
#174 fixes after review