Rule engine for AWS usage