This arrow respects both first and second commandment.
Work Step by Step
1. The tail of the arrow is on a double bond. 2. Initially, the carbon has 3 bonds and 0 lone pairs (positive formal charge). After the arrow, the carbon will have 4 bonds and 0 lone pairs, which completely respects the octet rule.