Added rank field to signals. Addresses comments in #9