The purpose of this bug is to remove the sql code from the smart-rules.pl administrative perl script thereby aligning it with the Koha coding guidelines.
Setting this resolved for addressing at a later date.
This might get obsoleted by the work on the new circulation rules (bug 15522)
I believe this is obsolete now with the move away from issuingrules to the new table.