The government is rolling out a new security matrix for Jammu and Kashmir to counter targeting of civilians and military personnel and camps by terrorists in recent weeks and months, including an attack on an Army camp in Rajouri last week, in which one soldier was injured.