gl: improve hardware rules

Authored by adrianchavesfernandez on Jan 11 2020, 10:03 AM.