Implementing Rule Engine in Rails Application