Match arbitrary rules.