Simply command apply pattern

It is changed to a pattern from an array of patterns. Maybe, an array
of patterns is needless.