Rules customization support (issue #14)