When an adverbial phrase is placed near and before the verb, commas are required. Is there any rule for such the comma requirement?

Solution 1:

Inclusion of bracketing commas makes them clearer. In general, a bracketing comma is used to mark off a weak interruption of the sentence.