Matching rules and substitution tilings