refactoring rate calculation
Merge branch 'master' of https://github.com/stiftungswo/DimeFrontendBundle