[patterns] Add flags tag when ver is added to pattern entries

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>