"Since when has any 'judge' been enpowered to make the law,"
No, they do that regularly. It's the basis of Common Law in England and all other countries which follow that principle. It's statute law they don't make.
"when it's their job to judge 'only',whether or not the case may be,if someone has broken the law."
Again, only partially correct. At the magistrate's court level (or whatever the equivalent may be in other jurisdictions) yes. And, as we're dealing with terrorism, in the "Diplock" courts in N Ireland*. But in jury trials it's the jury's job; the judge's job is to explain the law to the jury.
*In those courts the judge had to do something no jury is called on to do: explain the reasoning by which they arrived at the verdict.