Integrate rules parsing