Govt strives for rule of law to attract foreign investment, tourism: PM