We do deduct AEA before charging tax at the 10% entrepreneurs relief rate, but if there are other gains chargeable at the higher rates of 20% or 18% / 28% then we will firstly deduct AEA from those gains taxed at the highest rate – see OT course notes p.90 chapter 14 section 1.4