Added Rules in models and added returns in models.