Rectangular lattice gas model with competing interactions and the two-dimensional ANNNI model in a field