Patrick bought 15 rulers and 20 highlighters at $50. He wanted to buy another highlighter but was short of 0.90. He decided to buy another ruter instead and had $0.40 left. How much did each ruler cost?