Write rule for data integrity module

@shivtej What error are you facing, can you share a pastebin

@ssmusoke, I was facing this issue java.lang.NoSuchMethodError: org.hibernate.SessionFactory.getCurrentSession()Lorg/hibernate/classic/Session;. Full log here: https://pastebin.com/eVwMCYBa .

Try upgrading your OpenMRS version to 2.0.2 since I suspect the issue is to do with Platform versions on the server that you are running.

@ssmusoke, I’m running Version: 2.0.5 Build 9f9213 . I think I need to downgrade it to 2.0.2 .

@shivtej 2.0.5 will work just fine no need to downgrade