What can be inferred from the following premises in a single inference step (ignoring inferences that add new predicates or constants)? Name the inference rule being used: q or ~q_5. p_2 or q_2. ~p_2 or q_5. q_2 -> q.
q_2 or q_5 can be inferred via the resolution rule. q_5 -> q can be inferred via the rewriting rule.