create vector by rule test