Can someone point me in the direction of documentation or examples for using Rule Templates together with data held in a database (or source other than XLS / CSV which seems to be what all the examples show)?

Many thanks,

David