We consider entire solutions to Lu=f(u) in \RR^2, where L is a
general nonlocal operator with kernel K(y). Under certain natural assumtions
on the operator L, we show that any stable solution is a 1D solution. In
particular, our result applies to any solution u which is monotone in one
direction. Compared to other proofs of the De Giorgi type results on nonlocal
equations, our method is the first successfull attempt to use the Liouville
theorem approach to get flatness of the level sets