Modeling And Evaluation Of Rule-Based Elasticity For Cloud-Based Applications