rules and image_tool fixes

In this pull request:
Upgraded Mediamosa rules integration
Fixed still generation tool_image.