Added INLINE[n] pragmas to make rules fire.
Improved behavior of rules. In test code, rules are firing and fusing algorithms.