Gene system ecology and its application