Add Calculator#add_rule()
Replace Rules#add_rules with #add_rule
Move external function specs to their own file