Design-a-trial: a rule-based decision support system for clinical trial design