add endpoint for rule usage