bug/1272766 add netmask to ip rule

Change-Id: I9af8fb86ba39a39147aa4bce0b10d553f2a2cf82