build_rule: Build rules based on a candidate solution.
Description
This function takes a candidate solution vector and a features list and builds rule.
Usage
build_rule(solution, features)
Arguments
- solution
The solution vector.
- features
The features list.