Replacement and Component Rules in Hierarchically Ordered Mathematics Rule Learning Tasks.