If you closed off the inside with another piece of wood between the 'rails', a backing plate, you could then mount to the wall through that plate and do away with the brackets all together. To allow the wire to come through just drill a hole through the backing plate where ever you need it to come through.


Jason
M80 v2
VP160 v3
QS8 v2
PB13 Ultra
Denon 3808
Samsung 85" Q70