After making sure that the other aircraft did not hit you, I hope that you took the reg and reported the facts to the CAA. Unless the person was in an emergency situation, in which case they should have used either a mayday or pan call, they appear to be in contravention of at least two parts of rule 17, plus possible certain other rules and articles.