A Guide to Modernizing Legacy Applications Using a Business Rules Engine