experimenting with rules engine for horse selection